package com.tpyule.tpclass.dao;

import com.tpyule.tpclass.entity.pojo.Subscription;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author zzz
 * @version 1.0
 * @date 2020/5/8 21:07
 */
@Mapper
public interface SubscriptionDao {
    /**
     * 注册用户添加配置
     * @param userId
     * @return
     */
    public int addSubscriptionConfig(String userId);

    /**
     * 添加订阅
     * @param subscription
     * @return
     */
    public int addSubscription(Subscription subscription);
}
